﻿"width": "100%",
"height": "100%",
"type": "<%- editor.type %>",
"documentType": "<%- editor.documentType %>",
"token": "<%- editor.token %>",
"document": {
    "title": "<%- file.name %>",
    "url": "<%- file.uri %>",
    "fileType": "<%- file.ext %>",
    "key": "<%- editor.key %>",
    "info": {
        "author": "Me",
        "created": "<%- file.created %>"
    },
    "permissions": {
        "comment": <%- editor.comment %>,
        "download": true,
        "edit": <%- editor.isEdit %>,
        "fillForms": <%- editor.fillForms %>,
        "modifyFilter": <%- editor.modifyFilter %>,
        "modifyContentControl": <%- editor.modifyContentControl %>,
        "review": <%- editor.review %>
    }
},
"editorConfig": {
    "mode": "<%- editor.mode %>",
    "lang": "<%- editor.lang %>",
    "callbackUrl": "<%- editor.callbackUrl %>",
    "user": {
        "id": "<%- editor.userid %>",
        "name": "<%- editor.name %>"
    },
    "embedded": {
        "saveUrl": "<%- file.uri %>",
        "embedUrl": "<%- file.uri %>",
        "shareUrl": "<%- file.uri %>",
        "toolbarDocked": "top"
    },
    "customization": {
        "about": true,
        "chat": true,
        "comments": true,
        "feedback": true,
        "forcesave": false,
        "goback": {
            "url": "<%- editor.backUrl %>"
        }
    },
    "fileChoiceUrl": "<%- editor.fileChoiceUrl %>",
    "plugins": <%- editor.plugins %>
}
